<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

// +----------------------------------------------------------------------
// | 缓存设置
// +----------------------------------------------------------------------

return [
    // 驱动方式
    'type' => env('cache.type', 'file'),
    'host' => env('redis.hostname', '127.0.0.1'),
    // 全局缓存有效期（0为永久有效）
    'expire' => env('cache.expire', 0),
    // 缓存前缀
    'prefix' => env('cache.prefix', 'inge'),
    //redis密码
    'password' => env('redis.password', ''),
    // 缓存目录
    'path' => __DIR__ . '/../runtime/cache/',
];